package com.groupmobile.quotes.database;

public class Quote
{
  private String author;
  private String authorId;
  private String authorImage;
  private String body;
  private String category;
  private String count;
  private int countValue;
  private String id;

  public Quote()
  {
  }

  public Quote(int paramInt, String paramString)
  {
    this.id = String.valueOf(paramInt);
    this.body = paramString;
  }

  public Quote(int paramInt1, String paramString1, int paramInt2, String paramString2, String paramString3)
  {
    this.id = String.valueOf(paramInt1);
    this.body = paramString1;
    this.author = paramString2;
    this.authorId = String.valueOf(paramInt2);
    this.category = paramString3;
  }

  public Quote(int paramInt1, String paramString1, int paramInt2, String paramString2, String paramString3, String paramString4)
  {
    this.id = String.valueOf(paramInt1);
    this.body = paramString1;
    this.author = paramString2;
    this.authorId = String.valueOf(paramInt2);
    this.category = paramString3;
    this.authorImage = paramString4;
  }

  public Quote(int paramInt, String paramString1, String paramString2)
  {
    this.id = String.valueOf(paramInt);
    this.body = paramString1;
    this.author = paramString2;
  }

  public Quote(String paramString1, String paramString2, String paramString3, String paramString4)
  {
    this.id = paramString1;
    this.author = paramString2;
    this.body = paramString3;
    this.count = paramString4;
    if ((paramString4 != null) && (!paramString4.equals("")))
      this.countValue = Integer.valueOf(paramString4).intValue();
  }

  public String getAuthor()
  {
    return this.author;
  }

  public String getAuthorId()
  {
    return this.authorId;
  }

  public String getAuthorImage()
  {
    return this.authorImage;
  }

  public String getBody()
  {
    return this.body;
  }

  public String getCategory()
  {
    return this.category;
  }

  public String getCount()
  {
    return this.count;
  }

  public int getCountValue()
  {
    return this.countValue;
  }

  public String getId()
  {
    return this.id;
  }

  public void setAuthor(String paramString)
  {
    this.author = paramString;
  }

  public void setAuthorId(String paramString)
  {
    this.authorId = paramString;
  }

  public void setAuthorImage(String paramString)
  {
    this.authorImage = paramString;
  }

  public void setBody(String paramString)
  {
    this.body = paramString;
  }

  public void setCategory(String paramString)
  {
    this.category = paramString;
  }

  public void setCount(String paramString)
  {
    this.count = paramString;
    if ((paramString != null) && (!paramString.equals("")))
      this.countValue = Integer.valueOf(paramString).intValue();
  }

  public void setId(String paramString)
  {
    this.id = paramString;
  }
}

